
#ifndef __ENGINEFACTORY_H_
#define __ENGINEFACTORY_H_

// This Factory object creats our Interface object.
#include "engineInterface.h"

class engineFactory
{
private:
	engineInterface	*pEngine;

	HINSTANCE           hInst;
   	HMODULE             hDLL;

   public:
   	  engineFactory(HINSTANCE hInst);
   	  ~engineFactory();

   	  HRESULT initInterface(TCHAR *szType);
   	  engineInterface* getInterface(){ return pEngine; };
   	  void destroyInterface();
};

#endif